package cn.tedu._05mvcboot02.config;

import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Configuration;
// 1.Configuration注解：设置当前类为配置类，启动工程时会自动运行
@Configuration
// 2.MapperScan为扫描注解，省去了每个Mapper映射接口上面添加@Mapper注解
// 参数为mapper的包的完整路径
@MapperScan("cn.tedu._05mvcboot02.mapper")
public class MybatisConfig {
}
